{template 'header'}
<script type="text/javascript">var sh = '{$MOD[linkurl]}search.php?catid={$gid}';</script>
<div class="m">
	<div class="nav">
		当前位置: <a href="{$MODULE[1][linkurl]}">首页</a> &raquo; <a href="{$MOD[linkurl]}">{$MOD[name]}</a> &raquo; {cat_pos($CAT, ' &raquo; ')} &raquo; <a href="{$MOD[linkurl]}{$GRP[linkurl]}">{$GRP[title]}{$MOD[seo_name]}</a>
	</div>
</div>
<div class="m">
	<div class="group_info">
		<div class="group_title">
		<span class="f_r f_gray">
		<a href="{$MODULE[2][linkurl]}{$DT[file_my]}?mid={$moduleid}&job=join&action=add&gid={$gid}" class="b" rel="nofollow">加入本圈</a>
		 | <a href="javascript:SendFav();" class="b" rel="nofollow">收藏本圈</a>
		<span class="manage"{if !$admin} style="display:none;"{/if}> | <a href="{$MODULE[2][linkurl]}{$DT[file_my]}?mid={$moduleid}&job=manage&gid={$gid}&pid={$page}" target="manage" class="b" rel="nofollow">管理本圈</a></span>
		</span>
		{if $GRP[thumb]}<img src="{$GRP[thumb]}" align="absmiddle" alt=""/>{/if}
		<strong class="px14" id="title">{$GRP[title]}{$MOD[seo_name]}</strong> &nbsp; 
		主题:<span class="f_orange">{$GRP[post]}</span> &nbsp; 
		粉丝:<a href="{$MOD[linkurl]}{rewrite('fans.php?gid='.$gid)}" class="b" title="全部成员">{$GRP[fans]}</a> &nbsp; 
		圈主:<a href="{userurl($GRP[username])}" target="_blank" class="b">{$GRP[passport]}</a> &nbsp; 
		版主:
		{if $GRP[managers]}
		<select onchange="if(this.value)window.open(this.value);">
		<option value="">版主列表</option>
		{loop $GRP[managers] $manager}
		<option value="{$MOD[linkurl]}goto.php?action=master&catid={$gid}&name={urlencode($manager)}">{$manager}</option>
		{/loop}
		</select>
		{else}
		暂无版主
		{/if}
		</div>
		{if $GRP[content]}
		<div class="group_introduce c_b">{nl2br($GRP[content])}</div>
		{/if}
	</div>
</div>
<div class="m b10"></div>
<div class="m">
	<div class="group_type">
		<div class="f_r">
		<a href="{$MODULE[2][linkurl]}{$DT[file_my]}?mid={$moduleid}&action=add&gid={$gid}" class="group_post" rel="nofollow">发帖</a>
		</div>
		{loop $TYPE $k $v}
		<a href="{$MOD[linkurl]}{if $k}{rewrite('list.php?catid='.$gid.'&typeid='.$k)}{else}{$GRP[linkurl]}{/if}" class="group_type_{if $typeid==$k}1{else}2{/if}">{$v}</a>
		{/loop}
	</div>
</div>
<div class="m b10"></div>
<div class="m">
	{if $tags}{template 'list-'.$module, 'tag'}{/if}
</div>
<script type="text/javascript">
if($('.club_list').length > 0) {
	$('.club_list tr:gt(0)').mouseover(function(){
		$(this).css('background', '#FAFAFA');
		$(this).bind('mouseleave',function(){ 
			$(this).css('background', '#FFFFFF');
		});
	}); 
}
</script>
{template 'footer'}